package com.suneee.store.entity;

import java.io.Serializable;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;

@Entity
@Table(name = "v_no_stock_record_sku")
public class ViewNoStockRecordSku implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5275502684530856880L;

	@Id
	@GeneratedValue
	@Column(name="temp_id")
	private Integer tempId;
	
	@Column(name="sku_id")
	private Integer skuId;
	
	@Column(name="spu_id")
	private Integer spuId;
	
	@Column(name="stock_type")
	private String stockType;
	
	@Column(name="incoming")
	private Integer incoming;
	
	@Column(name="price")
	private Float price;
	
	@Column(name="spec_one_value")
	private String specOneValue;
	
	@Column(name="spec_two_value")
	private String specTwoValue;
	
	@Column(name="spec_three_value")
	private String specThreeValue;
	
	@Column(name="spec_four_value")
	private String specFourValue;
	
	@Column(name="title")
	private String title;
	
	@Column(name="market_price")
	private Float marketPrice;
	
	@Column(name="enterprise_code")
	private String enterpriseCode;
	
	@Column(name="category_name")
	private String categoryName;
	
	@Transient
	private String brandName;
	
	@Column(name="category_code")
	private String categoryCode;
	
	@Column(name="purchase_price") //采购价
	private Float purchasePrice;

	public Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(Integer skuId) {
		this.skuId = skuId;
	}

	public Integer getSpuId() {
		return spuId;
	}

	public void setSpuId(Integer spuId) {
		this.spuId = spuId;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getSpecOneValue() {
		return specOneValue;
	}

	public void setSpecOneValue(String specOneValue) {
		this.specOneValue = specOneValue;
	}

	public String getSpecTwoValue() {
		return specTwoValue;
	}

	public void setSpecTwoValue(String specTwoValue) {
		this.specTwoValue = specTwoValue;
	}

	public String getSpecThreeValue() {
		return specThreeValue;
	}

	public void setSpecThreeValue(String specThreeValue) {
		this.specThreeValue = specThreeValue;
	}

	public String getSpecFourValue() {
		return specFourValue;
	}

	public void setSpecFourValue(String specFourValue) {
		this.specFourValue = specFourValue;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(Float marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public Integer getTempId() {
		return tempId;
	}

	public void setTempId(Integer tempId) {
		this.tempId = tempId;
	}

	public String getStockType() {
		return stockType;
	}

	public void setStockType(String stockType) {
		this.stockType = stockType;
	}

	public Integer getIncoming() {
		return incoming;
	}

	public void setIncoming(Integer incoming) {
		this.incoming = incoming;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public Float getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(Float purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	
}
